@import "header";
@import "footer";
body {
    background-color: #f9f9f9;
}

.main {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    .magnifier {
        position: relative;
        width: 510px;
        height: 640px;
        .large img {
            width: 510px;
            height: 510px;
            border: 1px solid #ccc;
        }
        .mirror_s {
            visibility: hidden;
            background: #F8B600;
            border: 1px solid #987777;
            opacity: 0.4;
            position: absolute;
            top: 0;
            left: 0;
            cursor: move;
        }
    }
}

.mirror_b {
    position: absolute;
    top: 0;
    right: -520px;
    width: 510px;
    height: 510px;
    border: 1px solid #ccc;
    overflow: hidden;
    visibility: hidden;
    img {
        width: 1275px;
        height: 1275px;
        position: absolute;
        left: 0;
        top: 0;
    }
}

.ulist {
    padding-top: 10px;
    margin-top: 20px;
    height: 96px;
    .left {
        display: block;
        float: left;
        margin-top: 10px;
        width: 19px;
        height: 86px;
        background: url(https://images.changhong.com/chgw/images/pro-ditem-pre_03.jpg) no-repeat left center;
    }
    .right {
        display: block;
        float: right;
        margin-top: -80px;
        width: 19px;
        height: 86px;
        background: url(https://images.changhong.com/chgw/images/pro-ditem-next_03.jpg) no-repeat left center;
    }
    .list {
        width: 450px;
        overflow: hidden;
    }
    ul {
        position: relative;
        width: 9999px;
        height: 86px;
        li:hover {
            border: 1px solid red;
        }
        li {
            border: 1px solid white;
            background-color: white;
            width: 88px;
            float: left;
            white-space: nowrap;
            img {
                margin-left: 5;
                width: 80px;
                height: 80px;
                margin: 0 auto;
            }
        }
    }
}

.p_tip {
    width: 100%;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    p {
        width: 1200px;
        margin: 0 auto;
        font-size: 12px;
        line-height: 46px;
        a:hover {
            color: red;
        }
    }
}

.showData {
    width: 600px;
    height: 520px;
    .title {
        padding: 20px 0;
        width: 100%;
        border-bottom: 1px solid #ccc;
        p {
            line-height: 32px;
            font-size: 16px;
        }
        span {
            line-height: 32px;
            color: #999;
            font-size: 12px;
        }
        button {
            float: right;
            margin-top: 10px;
            width: 68px;
            height: 22px;
            line-height: 22px;
            text-align: center;
            border: 1px solid #ddd;
            color: #333;
            font-size: 14px;
            background: #f1f1f1;
            outline: none;
            cursor: pointer;
        }
    }
    .price {
        height: 110px;
        border-bottom: 1px solid #ccc;
        span {
            display: block;
            color: red;
            font-size: 30px;
            margin-top: 30px;
        }
    }
}

.address {
    height: 110px;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    label {
        line-height: 60px;
    }
}

.add {
    padding-top: 30px;
    .q_change {
        display: flex;
        height: 40px;
        width: 300px;
        line-height: 40px;
        div {
            width: 200px;
            display: flex;
            border: 1px solid #ccc;
            input {
                border: none;
                outline: none;
                background: white;
                text-align: center;
                width: 60px;
                font-size: 20px;
            }
            .count {
                width: 80px;
                border-right: 1px solid #ccc;
                border-left: 1px solid #ccc;
                font-size: 16px;
            }
        }
    }
}

.q_btn {
    margin-top: 20px;
    button {
        width: 180px;
        height: 40px;
        margin-left: 13px;
        background: #fff;
        border: 1px solid #999;
        color: #666;
        cursor: pointer;
        outline: none;
    }
    button:hover {
        background: red;
        color: white;
    }
}

.code {
    display: inline-block;
    position: relative;
    margin-left: 20px;
    font-size: 14px;
    i {
        font-size: 20px;
    }
    em {
        position: absolute;
        width: 180px;
        height: 0;
        top: -190px;
        display: none;
        left: 0;
        img {
            width: 100%;
        }
    }
}

.code:hover em {
    display: block;
}

.icon {
    margin-top: 30px;
    .one {
        margin-left: 10px;
        font-size: 16px;
        color: orange;
        i {
            cursor: pointer;
            margin-left: 20px;
            em {
                color: black;
            }
        }
    }
    span:nth-child(2) {
        i {
            cursor: pointer;
            font-size: 18px;
            color: green;
        }
        i:nth-child(1) {
            color: red;
        }
        i:nth-child(3) {
            color: rgb(155, 155, 243);
        }
    }
}